package com.tang.event.listener.impl;

import com.tang.event.listener.EventListener;
import com.tang.vo.LotteryResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * MQ发送事件
 */
public class MQEventListener implements EventListener {

    private final Logger log = LoggerFactory.getLogger(this.getClass());

    @Override
    public void doEvent(LotteryResult result) {
        log.info("记录用户{}摇号结果（MQ）：{}", result.getuId(), result.getMsg());
    }

}
